#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Termstructures.Volatility.Inflation;
namespace Cephei.QL.Cashflows
{
    /// <summary> 
	/// ! \note this pricer can already do swaplets but to get volatility-dependent coupons you need to implement the descendents.
	/// </summary>
    [Guid ("440F97F5-1CF7-41f4-9ABF-09C28F159AC3"),ComVisible(true)]
	public interface ICPICouponPricer : Cephei.QL.Cashflows.IInflationCouponPricer
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Double CapletPrice(Double effectiveCap);
        /// <summary> 
		/// 
		/// </summary>
		 Double CapletRate(Double effectiveCap);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Termstructures.Volatility.Inflation.ICPIVolatilitySurface CapletVolatility {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double FloorletPrice(Double effectiveFloor);
        /// <summary> 
		/// 
		/// </summary>
		 Double FloorletRate(Double effectiveFloor);
        /// <summary> 
		/// 
		/// </summary>
		 ICPICouponPricer Initialize(Cephei.QL.Cashflows.IInflationCoupon coupon);
        /// <summary> 
		/// 
		/// </summary>
		 ICPICouponPricer SetCapletVolatility(Cephei.QL.Termstructures.Volatility.Inflation.ICPIVolatilitySurface capletVol);
        /// <summary> 
		/// 
		/// </summary>
		 Double SwapletPrice {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double SwapletRate {get;}
    }   

    /// <summary> 
	/// ! \note this pricer can already do swaplets but to get volatility-dependent coupons you need to implement the descendents. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface ICPICouponPricer_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    ICPICouponPricer Create (Microsoft.FSharp.Core.FSharpOption<Cephei.QL.Termstructures.Volatility.Inflation.ICPIVolatilitySurface> capletVol);
    }
}

